package com.hzhc.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hzhc.entity.Machine;
import com.hzhc.utils.ResultUtil;
import com.hzhc.vo.MachineVo;
import org.apache.poi.ss.formula.functions.T;

import java.util.List;

/**
 * @author zhoumx
 * @date 2024/5/24
 * @description MachineService
 */
public interface MachineService extends IService<Machine> {
    List<Machine> getList(MachineVo vo, Page<Machine> pagination);

    ResultUtil<T> addRet(Machine vo);

    ResultUtil<T> updateRet(Machine vo);

    ResultUtil<T> updateDelete(Machine vo);

    Machine checkMachine(String field,String name,Long id);

    List<Machine> getAllMachineList(Machine machine);
}
